project(base)

set(CMAKE_CXX_STANDARD 20)

set(LOCAL_DIR .)

set(FILE_LIST
    ${LOCAL_DIR}/Signal.hpp
    ${LOCAL_DIR}/Signal.cpp 
    ${LOCAL_DIR}/type.hpp
    ${LOCAL_DIR}/Defind.hpp
    ${LOCAL_DIR}/BaseLog.hpp
    ${LOCAL_DIR}/BaseLog.cpp
    ${LOCAL_DIR}/Singleton.hpp
    ${LOCAL_DIR}/TimeUnit.hpp
    ${LOCAL_DIR}/TimeUnit.cpp
    ${LOCAL_DIR}/Timer.hpp
    ${LOCAL_DIR}/Timer.cpp
    ${LOCAL_DIR}/FileUtil.hpp
    ${LOCAL_DIR}/FileUtil.cpp
    ${LOCAL_DIR}/MessageUnti.hpp
    ${LOCAL_DIR}/MessageUnti.cpp
    ${LOCAL_DIR}/ObjectPool.hpp
    ${LOCAL_DIR}/ThreadPool.hpp
    ${LOCAL_DIR}/ThreadPool.cpp
)

add_library(base ${FILE_LIST})
